{include 'common/header.html'}
<body style="background-color: #eee;margin-bottom: 1.5em;">

{from 0 to 10 ++}
{$i}&nbsp;
{/from}

&nbsp;
{from 0 to 10 +3}
{$i}&nbsp;
{/from}


&nbsp;

{from 10 to 0 --}
{$i}&nbsp;
{/from}


&nbsp;
{from 10 to 0 -3}
{$i}&nbsp;
{/from}
&nbsp;
{__STATIC__}
&nbsp;

{cache:block/start('array',20)}
{loop array('fuck','ciao','nima')}
{$val}<br />
{/loop}

{loop array('fuck','ciao','nima') as $val}
{$val}<br />
{/loop}

{loop array('fuck','ciao','nima') as $key=>$val}
{$key}.{$val}<br />
{/loop}

{cache:block/catch('array')}




{cache:block/start('text',20)}
{dump($cfg)}
{cache:block/catch('text')}





{$cfg.idx.key}

{$cfg.1}

{$cfg.2.0}

{switch 1+2}
{case 2}
        fuck
{/case}
{case 3}
        haha
{/case}
{default}
        fuck hahaha
{/switch}

{dateFormat(time()-3600)}

{cache:block/get('array')}

{cache:block/get('text')}
{strCut('卧槽、、、何等卧槽',1,3)}
<div style="width: 320px;height: 320px;background-color: #FF9900;color: black;position: absolute;top: 50%;left: 50%;margin-top: -160px;margin-left: -160px;"><p style="text-align: center;vertical-align: middle;font-size: 64px;margin-top: 108px;">o(≧v≦)o</p><p>{$content}</p></div>
{include 'common/footer.html'}
</body>
</html>